<?php defined('SYSPATH') OR die('No direct access allowed.');?>
<?php
$form = new Forge();
$form->input('username')->label(TRUE)->rules('required|length[4,32]');
$form->password('password')->label(TRUE)->rules('required|length[5,40]');
$form->submit('Zaloguj');
echo $form->render();